﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

using CSF.MultiLang.Data;
using CSF.BusinessCore.Service;

namespace CSF.MultiLang.Service
{
    [ServiceContract]
    public interface IMlIdKeyConfigService<TEntity> : IDataIdKeyConfigService<TEntity>
    {
        [OperationContract]
        int InsertMl(TEntity entity, IEnumerable<LangTextContent> names);

        [OperationContract]
        bool UpdateMlById(TEntity t, IEnumerable<LangTextContent> names, int id);
    }
}
